From c80d2575c02757e5f2d350f8b915e0297b129491 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 28 Mar 1993 06:24:44 +0000 Subject: [PATCH] (auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex. --- lisp/files.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/files.el b/lisp/files.el index 2a5e298b60f..93455cff933 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -622,6 +622,8 @@ run `normal-mode' explicitly." ("\\.el\\'" . emacs-lisp-mode) ("\\.mm\\'" . nroff-mode) ("\\.me\\'" . nroff-mode) + ("\\.ms\\'" . nroff-mode) + ("\\.man\\'" . nroff-mode) ("\\.scm\\'" . scheme-mode) ("\\.l\\'" . lisp-mode) ("\\.lisp\\'" . lisp-mode) @@ -631,6 +633,8 @@ run `normal-mode' explicitly." ("\\.pl\\'" . prolog-mode) ("\\.cc\\'" . c++-mode) ("\\.C\\'" . c++-mode) + ("\\.mk" . . makefile-mode) + ("[Mm]akefile" . makefile-mode) ;;; Less common extensions come here ;;; so more common ones above are found faster. ("\\.s\\'" . asm-mode) @@ -651,6 +655,7 @@ run `normal-mode' explicitly." ("\\.lsp\\'" . lisp-mode) ("\\.awk\\'" . awk-mode) ("\\.prolog\\'" . prolog-mode) + ("\\.tar\\'" . tar-mode) ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message ("^/tmp/Re" . text-mode) @@ -658,6 +663,7 @@ run `normal-mode' explicitly." ;; some news reader is reported to use this ("^/tmp/fol/" . text-mode) ("\\.y\\'" . c-mode) + ("\\.lex\\'" . c-mode) ("\\.oak\\'" . scheme-mode) ("\\.scm.[0-9]*\\'" . scheme-mode) ;; .emacs following a directory delimiter -- 2.30.2